html {
	font-size: 24px;
	line-height: 1.2;
	color: white;
	text-align: center;
	background: linear-gradient(45deg, #113, #101);
	height: 100%;
	font-family: "Microsoft YaHei";
}

body {
	margin: 0;
	height: 100%;
	overflow: hidden;
}

h1 {
	color: #fed;
	text-shadow: black 5px 5px;
	font-size: 30pt;
	letter-spacing: 2px;
	margin: auto;
	position: absolute;
	top: 4px;
	left: 0;
	bottom: 0;
	right: 0;
	user-select: none;
}

small {
	font-size: 32px;
}

#github {
	position: absolute;
	top: 0;
	right: 0;
	border: 0;
	user-select: none;
}

#threejs-container {
	position: absolute;
	top: 0;
	left: 0;
	height: calc(100% - 250px);
	width: 100%;
	user-select: none;
}

.element {
	width: 150px;
	height: 200px;
	box-shadow: 0px 0px 12px rgba(0, 255, 255, 0.5);
	border: 1px solid rgba(127, 255, 255, 0.25);
	background-color: rgba(127, 255, 255, 0.05);
	cursor: default;
}

.selected {
	animation-name: "scaleup";
	-webkit-animation-name: "scaleup";
	animation-duration: 1s;
	-webkit-animation-duration: 1s;
	animation-iteration-count: 1;
	-webkit-animation-iteration-count: 1;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
	-webkit-animation-timing-function: ease-in-out;
}

.unselected {
	animation-name: "scaledown";
	-webkit-animation-name: "scaledown";
	animation-duration: 1s;
	-webkit-animation-duration: 1s;
	animation-iteration-count: 1;
	-webkit-animation-iteration-count: 1;
	animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
	-webkit-animation-timing-function: ease-in-out;
}

@keyframes scaleup {
	from {
		width: 150px;
		height: 200px;
	}
	to {
		width: 180px;
		height: 240px;
	}
}

@keyframes scaledown {
	from {
		width: 180px;
		height: 240px;
	}
	to {
		width: 150px;
		height: 200px;
	}
}

.element:hover {
	box-shadow: 0px 0px 12px rgba(0, 255, 255, 0.75);
	border: 2px solid rgba(127, 255, 255, 0.75);
}

.element img {
	margin: 4px 0 0 0;
	padding: 0;
	width: 95%;
	height: 95%;
	opacity: 0.9;
}

#detail {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 250px;
	background: linear-gradient(-45deg, #102, #112);
	box-shadow: 0 0 2px rgba(0, 255, 255, 0.75);
}

#title {
	position: absolute;
	text-align: left;
	margin: 20px 20px 10px 20px;
	font-size: 24pt;
	color: #ddd;
	z-index: 100;
}

#title a {
	font-size: 16pt;
	margin-left: 10px;
	color: #667;
	text-shadow: 0 0 5px #000;
	cursor: pointer;
}

::-webkit-scrollbar {
	width: 0.5px;
}

::-webkit-scrollbar-track {
	border-radius: 2px;
	-webkit-border-radius: 2px;
}

::-webkit-scrollbar-thumb {
	background: #555;
}

::-webkit-scrollbar-thumb:window-inactive {
	background: #555;
}

#infos {
	position: absolute;
	width: 300px;
	margin: 0 0 0 24px;
	padding-right: 12px;
	top: 64px;
	bottom: 5px;
	font-size: 11pt;
	color: #aaa;
	OVERFLOW-X: hidden;
	OVERFLOW-Y: scroll;
}

#infos p {
	margin: 5px 0;
	text-align: left;
}

#infos span>span {
	color: #aa9;
}

#rating {
	position: absolute;
	left: 300px;
	top: 60px;
	padding-left: 20px;
	margin-left: 36px;
}

#rating p {
	color: #aaa;
	font-size: 13pt;
	margin: 5px 0;
	text-align: left;
}

#ratingnum {
	color: #eee;
	font-size: 28pt;
	float: left;
}

#rating span {
	float: left;
}

#rating span>span {
	margin-left: 20px;
	margin-top: 2px;
	float: none;
	display: block;
	font-size: 12pt;
	text-align: left;
}

.stars {
	color: darkorange;
}

#starswrap {
	margin-top: 55px;
	line-height: 18px;
}

.power {
	background-color: orange;
	height: 12px;
	margin: 3px 8px 0 8px;
}

.rating_per,
.starstop {
	font-size: 10pt;
	color: #aaa;
	float: none;
}

#moreinfos {
	position: absolute;
	left: 560px;
	right: 20px;
	top: 20px;
	bottom: 5px;
	color: #aaa;
	z-index: 10;
}

#moreinfos>div {
	width: 100%;
	font-size: 11pt;
	padding: 0 5px 10px 0;
	text-align: right;
	border-bottom: 0.5px solid #555;
}

#comments,
#summary {
	position: absolute;
	top: 50px;
	bottom: 5px;
	width: 100%;
	OVERFLOW-X: hidden;
	OVERFLOW-Y: scroll;

	color: #aa9;
	font-size: 12pt;
	text-align: left;
	line-height: 25px;
}

#comments p {
	margin: 0 5px 10px 2px;
	padding: 0 0 8px 2px;
	line-height: 20px;
	font-size: 10pt;
	border-bottom: 0.5px dashed #444;
}